from rest_framework.serializers import ModelSerializer
from .models import *


class CategorySer(ModelSerializer):
    class Meta:
        model = Category
        fields = "__all__"


class GoodsSer(ModelSerializer):
    class Meta:
        model = Goods
        fields = "__all__"
